# import pygame
#
# background_image_filename="sea02.jpg"
# mouse_image_filename="fish.jpg"
# pygame.init()
# screen=pygame.display.set_mode((640,480),0,32)
#
# while True:
#     pygame.display.update()
#

import pygame
background_image_filename= "sea01.jpg"
mouse_image_filename= "fish.png"

pygame.init()

screen=pygame.display.set_mode((640,480),0,32)

pygame.display.set_caption("Hello")

background=pygame.image.load(background_image_filename)
mouse_cursor=pygame.image.load(mouse_image_filename)

while True:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            exit()

        screen.blit(background,(0,0))

        x,y=pygame.mouse.get_pos()

        x-=mouse_cursor.get_width()/2
        y-=mouse_cursor.get_width()/2

        screen.blit(mouse_cursor,(x,y))

        pygame.display.update()